package com.ruoyi.omp.api.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel
public class MaintainOrder extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 序号 */
    @ApiModelProperty(value = "序号")
    private String id;

    private String scheduleName;

    /** 类型(维护、巡检) */
    @Excel(name = "类型(维护、巡检)")
    @ApiModelProperty(value = "类型(维护、巡检)")
    private String type;

    /** 计划类型 */
    @Excel(name = "计划类型")
    @ApiModelProperty(value = "计划类型")
    private String scheduleType;

    /** 计划执行时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "计划执行时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "计划执行时间")
    private Date scheduleTime;

    /** 责任人 */
    @Excel(name = "责任人")
    @ApiModelProperty(value = "责任人")
    private String responsible;

    /** 状态 */
    @Excel(name = "状态")
    @ApiModelProperty(value = "状态")
    private String state;

    /** 字段1 */
    @Excel(name = "巡逻地址")
    @ApiModelProperty(value = "巡逻地址")
    private String patrolAddress;

    /** 字段2 */
    @Excel(name = "备注")
    @ApiModelProperty(value = "备注")
    private String remark;

    /** 字段3 */
    @Excel(name = "表单id")
    @ApiModelProperty(value = "表单id")
    private String formId;

    @ApiModelProperty(value = "表单名称")
    private String formName;

    /** 模块类型 */
    @Excel(name = "模块类型")
    @ApiModelProperty(value = "模块类型")
    private String classifyType;

}
